Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-43148 - Refactor AWS authentication #258

Merged
merged 6 commits into from
Oct 18, 2024

Conversation

mongoKart
Copy link
Collaborator

@mongoKart mongoKart commented Oct 16, 2024

Cloned from #250 after inadvertently closing v3.0 branch

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-43148

Staging Links

  • fundamentals/authentication
  • upgrade/v3
  • Self-Review Checklist

    • Is this free of any warnings or errors in the RST?
    • Did you run a spell-check?
    • Did you run a grammar-check?
    • Are all the links working?
    • Are the facets and meta keywords accurate?

    Copy link

    netlify bot commented Oct 16, 2024

    Deploy Preview for mongodb-docs-csharp ready!

    Name Link
    🔨 Latest commit 323d056
    🔍 Latest deploy log https://app.netlify.com/sites/mongodb-docs-csharp/deploys/67116ab4a121e80008d50537
    😎 Deploy Preview https://deploy-preview-258--mongodb-docs-csharp.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify site configuration.

    The following sections contain code examples that use the following placeholders:
    To use AWS authentication, first perform the following steps:

    - Add the ``MongoDB.Driver.Authentication.AWS`` NuGet package to your project.
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.


    .. code-block:: csharp

    MongoAuthentication.RegisterAwsAuthenticationProvider();
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Replace the code with the following one:
    MongoClientSettings.Extensions.AddAWSAuthentication();

    Copy link
    Collaborator Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    That's really weird. I don't know where that line came from.

    Copy link
    Member

    @sanych-sun sanych-sun left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM

    @mongoKart mongoKart merged commit 1d75584 into mongodb:master Oct 18, 2024
    5 of 6 checks passed
    @mongoKart mongoKart deleted the docsp-43148-aws-auth branch October 18, 2024 13:06
    mongoKart added a commit that referenced this pull request Oct 18, 2024
    Co-authored-by: Jordan Smith <[email protected]>
    (cherry picked from commit 1d75584)
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants